package doOperation;

import book.BookList;

public class ShowBook implements Operation{
    @Override
    public void work(BookList bookList) {
        for (int i = 0; i < bookList.getUsedSize(); i++) {
            System.out.println(bookList.getBooks()[i]);
        }
    }
}
